package com.example.springboot_study.service;

import com.example.springboot_study.entity.primary.User;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author : liqun
 * @createTime : 2021/9/22 14:55
 */
public interface JtaService {

    public void tx(String name,Integer age);

    public void tx2(String name,Integer age);

    public List<User> query1(String name);

    public List<User> query2(String name);
}
